/*
 * Copyright (C) 2018 yixun All Rights Reserved.
 * 
 * PremisesRelationExternal.java
 */
package com.qiaofang.entity;

import com.qiaofang.common.model.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "tr_premises_relation_external")
public class PremisesRelationExternal extends BaseDomain {

	@ApiModelProperty("分销公司Id")
	@Column(name = "agent_company_id")
	private Long agentCompanyId;
	@ApiModelProperty("外部公司Id")
	@Column(name = "external_company_id")
	private String externalCompanyId;
	@ApiModelProperty("楼盘id")
	@Column(name = "premises_id")
	private Long premisesId;
	@ApiModelProperty("外部关联id")
	@Column(name = "external_id")
	private String externalId;
	@ApiModelProperty("系统类型 1:V10")
	@Column(name = "sys_id")
	private String sysId;
	@ApiModelProperty("是否删除")
	@Column(name = "is_deleted")
	private String isDeleted;

}
